﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity
{
    #region 闹钟

    /// <summary>
    /// 闹钟
    /// </summary>
    public class Clock
    {
        /// <summary>
        /// 闹钟名称
        /// </summary>
        public string ClockName { get; set; }

        /// <summary>
        /// 闹钟详细信息
        /// </summary>
        public ClockInfo ClockInfo { get; set; }

    }

    /// <summary>
    /// 闹钟详细信息
    /// </summary>
    public class ClockInfo
    {
        /// <summary>
        /// 闹钟时间
        /// </summary>
        public string time { get; set; }

        /// <summary>
        /// 重复
        /// </summary>
        public string repeat { get; set; }

        /// <summary>
        /// 铃声
        /// </summary>
        public string music { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string things { get; set; }

        /// <summary>
        /// 稍后提醒
        /// </summary>
        public string nextInterval { get; set; }

        /// <summary>
        /// 闹钟音量
        /// </summary>
        public string musicVolume { get; set; }

        /// <summary>
        /// 响铃时附加震动
        /// </summary>
        public string musicPlus { get; set; }

        /// <summary>
        /// 闹钟是否启用
        /// </summary>
        public string isActive{ get; set; }
    }

    /// <summary>
    /// 全局闹钟配置
    /// </summary>
    public class ClockConfig
    {
        /// <summary>
        /// 距离当前时间的最近的时间
        /// </summary>
        public string recentTime { get; set; }

        /// <summary>
        /// 闹钟集合的总数
        /// </summary>
        public string clockCount { get; set; }

        /// <summary>
        /// 闹钟集合的最大数量限制
        /// </summary>
        public string clockMaxNum { get; set; }

        /// <summary>
        /// 闹钟时显示本地天气
        /// </summary>
        public bool alarmingShowWeather { get; set; } = false;

        /// <summary>
        /// 创建桌面快捷方式
        /// </summary>
        public bool createDeskShortCut { get; set; } = false;

        /// <summary>
        /// 开机自动启动
        /// </summary>
        public bool appAutoStart { get; set; } = false;

        /// <summary>
        /// 退出时最小化
        /// </summary>
        public bool isExitToMiniMode { get; set; } = false;
    }
    #endregion
}
